package com.dao;

import java.util.List;

import com.entity.Losearticle;

public interface LosearticleDao {

	public List<Losearticle> selectLosearticleList(Losearticle losearticle);

	public Integer selectLosearticleListCount(Losearticle losearticle);

	public int deleteLosearticle(Integer id);

	public int createLosearticle(Losearticle losearticle);

	public Losearticle getLosearticleById(Integer id);

	public int updateLosearticle(Losearticle losearticle);

	public int updateState(Losearticle losearticle);

	public List<Losearticle> selectLosearticleListByUser(Losearticle losearticle);

	public Integer selectLosearticleListByUserCount(Losearticle losearticle);

	public List<Losearticle> selectLosearticleListByState(Losearticle losearticle);

	public Integer selectLosearticleListByStateCount(Losearticle losearticle);

}
